<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>表单标签</title>
</head>

<body>
  <form action="#" method="post">
    文本框: <input type="text" name="text" maxlength="6" disabled><br>
    密码框: <input type="password" readonly><br>
    单选框: 男<input type="radio" name="gender" checked> 女<input type="radio" name="gender" checked><br>
    多选框(爱好): 篮球<input type="checkbox"> 听歌<input type="checkbox"> 学习<input type="checkbox" checked><br />
    附件框: <input type="file"><br>
    隐藏框: <input type="hidden"><br>

    <input type="submit" value="提交按钮">
    <input type="button" value="普通按钮" onclick="alert('你好吗')">
    <input type="reset">
    <!--重置-->
    <input type="image" src="./imges/Snipaste_2022-06-21_19-17-34.png">
    <br>
    下拉框:
    <select>
      <option value="1" selected>hello1</option>
      <!--selectde 默认选中-->
      <option value="2">hello2</option>
      <option value="3">hello3</option>
      <option value="4">hello4</option>
      <option value="5">hello5</option>
    </select>
    <br>
    多行文本:<br />
    <textarea cols="50" rows="10"></textarea>
  </form>
</body>

</html>